package sk.xorty.web;

import com.google.common.collect.Maps;

import java.util.Map;

public class Model {

    private Map<String, Object> modelMap = Maps.newHashMap();

    public void put(String key, Object value) {
        modelMap.put(key, value);
    }

    public Object get(String key) {
        return modelMap.get(key);
    }

    @Override
    public String toString() {
        return "Model{" +
                "modelMap=" + modelMap +
                '}';
    }
}
